<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>采购申请</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="div" action="tMmPrController.do?doAdd" >
			<input id="id" name="id" type="hidden" value="${tMmPrPage.id }">
			<input id="createName" name="createName" type="hidden" value="${tMmPrPage.createName }">
			<input id="createBy" name="createBy" type="hidden" value="${tMmPrPage.createBy }">
			<input id="createDate" name="createDate" type="hidden" value="${tMmPrPage.createDate }">
			<input id="updateName" name="updateName" type="hidden" value="${tMmPrPage.updateName }">
			<input id="updateBy" name="updateBy" type="hidden" value="${tMmPrPage.updateBy }">
			<input id="updateDate" name="updateDate" type="hidden" value="${tMmPrPage.updateDate }">
			<input id="sysOrgCode" name="sysOrgCode" type="hidden" value="${tMmPrPage.sysOrgCode }">
			<input id="sysCompanyCode" name="sysCompanyCode" type="hidden" value="${tMmPrPage.sysCompanyCode }">
			<input id="bpmStatus" name="bpmStatus" type="hidden" value="${tMmPrPage.bpmStatus }">
		<fieldset class="step">
			<div class="form">
		      <label class="Validform_label">采购申请号:</label>
					     	 <input id="docnum" name="docnum" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">商品编码:</label>
					     	 <input id="matcode" name="matcode" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">商品名称:</label>
					     	 <input id="matname" name="matname" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">数量:</label>
					     	 <input id="quantity" name="quantity" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">单位:</label>
					<t:dictSelect field="unit" type="list"  dictTable="t_sys_unit" dictField="unit" dictText="unit"   defaultVal="${tMmPrPage.unit}" hasLabel="false"  title="单位"></t:dictSelect>     
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">交货日期:</label>
					  <input id="deliverydate" name="deliverydate" type="text" style="width: 150px" class="Wdate" onClick="WdatePicker()"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">供应商:</label>
					     	 <input id="vendorcode" name="vendorcode" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">供应商名称:</label>
					     	 <input id="vendorname" name="vendorname" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
			<div class="form">
		      <label class="Validform_label">文本:</label>
					     	 <input id="text" name="text" type="text" style="width: 150px" class="inputxt"  ignore="ignore" />
		      <span class="Validform_checktip"></span>
		    </div>
	    </fieldset>
  </t:formvalid>
 </body>
  <script src = "webpage/com/erp/mm/tMmPr.js"></script>
	